package fr.channel.shared.dto;

import java.io.Serializable;

public class Reponse<T extends Serializable> implements Serializable{

	/**  */
    private static final long serialVersionUID = -8348675797721142172L;

	private boolean sucess;
	
	private String error;
	
	private T value;

	public boolean isSucess() {
    	return sucess;
    }

	public void setSucess(boolean sucess) {
    	this.sucess = sucess;
    }

	public String getError() {
    	return error;
    }

	public void setError(String error) {
    	this.error = error;
    }
	
	public T getValue() {
		return value;
	}
	
	public void setValue(T pValue) {
		value = pValue;
	}
}
